<template>
  <div class="modalBox">
    <slot name="btns"></slot>

    <div class="modal fade bd-example-modal-sm" tabindex="-1" role="dialog">
      <div class="modal-dialog modal-dialog-centered modal-sm">
        <div class="modal-content">
          <div class="modal-body d-flex flex-column align-items-center">
            <img src="https://img.zcool.cn/community/01e858594b2e58a8012193a3da10db.gif" class="loadingImg" alt="">
            <p id="myModalLabel">资源加载中</p>
          </div>
        </div>
      </div>
    </div>

  </div>
</template>

<script>
  export default {
    name: 'ModalBox',
    data () {
      return {

      }
    }
  }
  
</script>

<style scoped>
  .loadingImg {
    width: 100%;
    height: 80px;
  }
</style>